import axios from "@/axios";

// 获取文章列表
export function getArticlePageList(data) {
    console.log("首页获取文章分页列表")
    return axios.post("/article/list", data)
}

// 获取文章详情
export function getArticleDetail(data) {
    console.log("前台获取文章详情")
    return axios.post("/article/detail", data)
}